Install xfce4
sudo apt update
sudo apt install xfce4 xfce4-goodies
Install TigerVNC -
pacman | |
====== | |
view logs: /var/log/pacman.log | |
update system | |
# pacman -Syu | |
list installed packages | |
# pacman -Q |
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.
Nodes are not assigned public IP. If you have accessible VM in the same VNET as worker nodes, then you can use that VM as jump host and connect the worker via private IP.
Alternatively public IP can be assigned to a worker node. This readme shows how to do that.
find out the resource group that AKS created for the node VMs
find . -name '*.dart' ! -name '*.g.dart' ! -name '*.freezed.dart' ! -name '*.gr.dart' ! -name '*.gen.dart' | xargs wc -l
Thanks @AcetylsalicylicAcid for excluding generated files.
CERTIFICATION ASKED QUESTIONS | |
1. Create a new deployment called web-proj-268 with image nginx:1.16 and one replica. | |
Next, upgrade the deployment to version 1.17 using rolling update. | |
Make sure that the version upgrade is recorded in the resource annotation. | |
$kubectl create deploy web-proj-268 --image=nginx:1.16 --replicas=1 | |
$kubectl get deploy -o wide | |
$kubectl set image deploy/web-proj-268 nginx=nginx:1.17 |
/** | |
* Enqueue Google Tag Manager script | |
* | |
*/ | |
/* Add Google Tag Manager javascript code as close to | |
the opening <head> tag as possible | |
=====================================================*/ | |
define("GTM_TAG","GTM-XXXXXX", false); // Replace with GTM tracking ID |
Retrieve hosted zones with aws route53 list-hosted-zones
then enter the zone Id below:
aws route53 list-resource-record-sets --hosted-zone-id "/hostedzone/xxxxxxxxxxx" | \
jq -r '.ResourceRecordSets[] | [.Name, .Type, (.ResourceRecords[]? | .Value), .AliasTarget.DNSName?] | @tsv'
-- Adjust the default theme's font and size. | |
if not CURSES then | |
view:set_theme('base16-irblack', {font = 'Inconsolata Condensed Medium', size = 14}) | |
end | |
-- UI Size, this works in 1366x768. | |
ui.size = {600,742} | |
-- Enable word-wrapping. | |
view.wrap_mode = 1 |
Since monterey update does not allow us to use Xcode previous than 13, let's show how to "install previous SDKs"
Swift toolchains, from https://swift.org/download/
Previous Xcode.xip, from the https://developer.apple.com